package com.woniuxy.crm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 订单与产品表
 * </p>
 *
 * @author 郑鹏
 */
@Getter
@Setter
@TableName("crm_order_item")
@Schema(description = "OrderItem对象")
public class OrderItem extends BaseEntity{

    private static final long serialVersionUID = 1L;

    @Schema(description = "订单id")
    private Integer orderId;

    @Schema(description = "产品id")
    private Integer productId;

    @Schema(description = "价格")
    private BigDecimal price;

    @Schema(description = "数量")
    private Integer num;





}